package com.ruoyi.system.api.domain.store;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 出库记录对象 finer_stock_out
 *
 * @author ruoyi
 * @date 2024-10-31
 */
public class StockOut extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    private Integer id;
    private int cusId;
    private String cusName;
    /**
     * 出库编号
     */
    @Excel(name = "出库编号")
    private String stockOutCode;
    private int stockStatus;
    /**
     * 订单编号
     */
    @Excel(name = "订单编号")
    private String orderCode;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;
    private String houseOutName;
    /**
     * 修改人
     */
    @Excel(name = "修改人")
    private String modifyBy;
    private int houseId;
    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifyDate;

    /**
     * 0：未删除1：已删除
     */
    private Integer isDel;
    private int stockNum;
    private int stockNumber;
    /**
     * 出库类型
     */
    @Excel(name = "出库类型")
    private Integer inventoryTypeId;

    private String typeName;
    private int stockCount;
    private int totalOutNumber;

    //业务员
    private String orderUserName;

    //业务部门
    private String orderDeptName;

    //结算金额
    private BigDecimal reqMoney;

    //已结算金额
    private BigDecimal reqVerMoney;

    //未结算金额
    private BigDecimal reqNoMoney;

    //供货商id
    private Integer supplierId;

    //供货商名称
    private String supName;

    //源单业务员id
    private Integer srcUserId;

    //源单业务员名称
    private String srcUserName;

    public int getTotalOutNumber() {
        return totalOutNumber;
    }

    public void setTotalOutNumber(int totalOutNumber) {
        this.totalOutNumber = totalOutNumber;
    }

    public int getStockCount() {
        return stockCount;
    }

    public void setStockCount(int stockCount) {
        this.stockCount = stockCount;
    }

    public String getHouseOutName() {
        return houseOutName;
    }

    public void setHouseOutName(String houseOutName) {
        this.houseOutName = houseOutName;
    }

    public int getHouseId() {
        return houseId;
    }

    public void setHouseId(int houseId) {
        this.houseId = houseId;
    }

    public int getStockNum() {
        return stockNum;
    }

    public void setStockNum(int stockNum) {
        this.stockNum = stockNum;
    }

    public int getStockNumber() {
        return stockNumber;
    }

    public void setStockNumber(int stockNumber) {
        this.stockNumber = stockNumber;
    }

    public int getStockStatus() {
        return stockStatus;
    }

    public void setStockStatus(int stockStatus) {
        this.stockStatus = stockStatus;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getStockOutCode() {
        return stockOutCode;
    }

    public void setStockOutCode(String stockOutCode) {
        this.stockOutCode = stockOutCode;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getModifyBy() {
        return modifyBy;
    }

    public void setModifyBy(String modifyBy) {
        this.modifyBy = modifyBy;
    }

    public int getCusId() {
        return cusId;
    }

    public void setCusId(int cusId) {
        this.cusId = cusId;
    }

    public String getCusName() {
        return cusName;
    }

    public void setCusName(String cusName) {
        this.cusName = cusName;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    public Integer getInventoryTypeId() {
        return inventoryTypeId;
    }

    public void setInventoryTypeId(Integer inventoryTypeId) {
        this.inventoryTypeId = inventoryTypeId;
    }

    public String getOrderUserName() {
        return orderUserName;
    }

    public void setOrderUserName(String orderUserName) {
        this.orderUserName = orderUserName;
    }

    public String getOrderDeptName() {
        return orderDeptName;
    }

    public void setOrderDeptName(String orderDeptName) {
        this.orderDeptName = orderDeptName;
    }

    public BigDecimal getReqMoney() {
        return reqMoney;
    }

    public void setReqMoney(BigDecimal reqMoney) {
        this.reqMoney = reqMoney;
    }

    public BigDecimal getReqVerMoney() {
        return reqVerMoney;
    }

    public void setReqVerMoney(BigDecimal reqVerMoney) {
        this.reqVerMoney = reqVerMoney;
    }

    public Integer getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Integer supplierId) {
        this.supplierId = supplierId;
    }

    public String getSupName() {
        return supName;
    }

    public void setSupName(String supName) {
        this.supName = supName;
    }

    public Integer getSrcUserId() {
        return srcUserId;
    }

    public void setSrcUserId(Integer srcUserId) {
        this.srcUserId = srcUserId;
    }

    public String getSrcUserName() {
        return srcUserName;
    }

    public void setSrcUserName(String srcUserName) {
        this.srcUserName = srcUserName;
    }

    public BigDecimal getReqNoMoney() {
        return reqNoMoney;
    }

    public void setReqNoMoney(BigDecimal reqNoMoney) {
        this.reqNoMoney = reqNoMoney;
    }

    @Override
    public String toString() {
        return "StockOut{" +
                "id=" + id +
                ", cusId=" + cusId +
                ", cusName='" + cusName + '\'' +
                ", stockOutCode='" + stockOutCode + '\'' +
                ", stockStatus=" + stockStatus +
                ", orderCode='" + orderCode + '\'' +
                ", createDate=" + createDate +
                ", houseOutName='" + houseOutName + '\'' +
                ", modifyBy='" + modifyBy + '\'' +
                ", houseId=" + houseId +
                ", modifyDate=" + modifyDate +
                ", isDel=" + isDel +
                ", stockNum=" + stockNum +
                ", stockNumber=" + stockNumber +
                ", inventoryTypeId=" + inventoryTypeId +
                ", typeName='" + typeName + '\'' +
                ", stockCount=" + stockCount +
                ", totalOutNumber=" + totalOutNumber +
                ", orderUserName='" + orderUserName + '\'' +
                ", orderDeptName='" + orderDeptName + '\'' +
                ", reqMoney=" + reqMoney +
                ", reqVerMoney=" + reqVerMoney +
                ", reqNoMoney=" + reqNoMoney +
                ", supplierId=" + supplierId +
                ", supName='" + supName + '\'' +
                ", srcUserId=" + srcUserId +
                ", srcUserName='" + srcUserName + '\'' +
                '}';
    }
}
